// const crypto = require('crypto')

// const hash = crypto.createHash('md5')
// const secret  = 'abcdefg'

// const hash = crypto.createHmac('sha256',secret).update('xxxx').digest('hex')
// console.log(hash);

let crypto;
try {
  crypto = require('crypto');
} catch (err) {
  console.log('crypto support is disabled!');
}